average marks of students Python